package com.zhan.utils.page;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Description TODO
 * @Author 白尚兵
 * @Email 556bsb@163.com
 * @Date 2019/8/5 16:29
 **/
@Data
public class QueryCondition {
    @ApiModelProperty(value = "分页-起始页", example = "1")
    private long page = 1;
    @ApiModelProperty(value = "分页-每页数量", example = "10")
    private long pageSize = 10;
    @ApiModelProperty(value = "是否分页", example = "true")
    private boolean pageAble = true;
    @ApiModelProperty(value = "查询条件")
    private List<QueryItem> query;
    @ApiModelProperty(value = "排序")
    private List<OrderItem> orders;
}
